using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 背包、快捷道具栏、装备栏等库存容器，里面包含有不同数量的背包格子 SlotUI
/// </summary>
public class ContainerUI : MonoBehaviour
{
    public SlotUI[] slotUIs;
    public void RefreshUI()
    {
        for (int i = 0; i < slotUIs.Length; i++)
        {
            // 设置格子的序号
            slotUIs[i].itemUI.Index = i;
            // 更新UI
            slotUIs[i].UpdateItemUI();
        }
    }

}
